import request from '@/utils/request'
// 分页卡类型列表
export function queryCardList(query) {
    return request({
      url: '/ykm1-manage/manage/card/queryCardList',
      // url: 'http://172.18.41.10:9403/manage/card/queryCardList',
      method: 'get',
      params: query
    })
  }

// 新增卡类型
export function addCard(query) {
    return request({
      url: '/ykm1-manage/manage/card/add',
      // url: 'http://172.18.41.10:9403/manage/card/add',
      method: 'post',
      data: query
    })
  }

// 修改卡类型
export function updateCard(query) {
    return request({
      url: '/ykm1-manage/manage/card/updateInfo',
      method: 'post',
      data: query
    })
  }

// 删除卡类型
export function deleteCard(query) {
    return request({
      url: '/ykm1-manage/manage/card/delete',
      method: 'delete',
      params: query
    })
  }

// 查询卡类别信息
export function categoryInfo(query) {
    return request({
      url: '/ykm1-manage/manage/card/queryInfo',
      method: 'post',
      data: query
    })
  }